<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div id="app">
</div>

<script src="../html页面使用vue/0js/vue.js"></script>
<!-- jsx转为js -->
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>

<script type="text/babel">


    Vue.component('anchored-heading', {
        render: function (h) {
            console.log(h)
            return (
                   <h1>dfdf</h1>
            )
        },
        props: {
            level: {
                type: Number,
                required: true
            }
        }
    })

    new Vue({
        el: "#app",
        data() {
            return {
                dengji: 6
            }
        },
        render: function (h) {
            return (
                    <span>Hello</span>
            )
        }
    })
</script>
</body>

</html>